New functionalities of Storage.Pickers: SettingsIdentifier; InitialFileTypeIndex; Title; PickMultipleFoldersAsync; ShowOverwritePrompt;#6052
Merged
DinahK-2SO merged 24 commits intomainfrom Jan 24, 2026
Conversation
2efb906 to
852aa73
Compare
852aa73 to
5b22d3e
Compare
…iletypefilterindex
Contributor
yeelam-gordon
left a comment
There was a problem hiding this comment.
Functionality review comments for PR 6052.
yeelam-gordon
approved these changes
Jan 21, 2026
Contributor
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
codendone
requested changes
Jan 22, 2026
added 10 commits
January 23, 2026 14:48
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Scottj1s
reviewed
Jan 23, 2026
Scottj1s
reviewed
Jan 23, 2026
Scottj1s
approved these changes
Jan 23, 2026
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Scottj1s
approved these changes
Jan 23, 2026
DinahK-2SO
added a commit
that referenced
this pull request
Jan 24, 2026
…ngsIdentifier; FileTypeIndex; Title; PickMultipleFoldersAsync; ShowOverwritePrompt (#6051) API Spec for - #6052 ## Adds properties: ### Title * Adds `Title` properties to `FileOpenPicker`, `FileSavePicker`, and `FolderPicker`, enabling custom dialog titles. Related: - #5879 ### SettingsIdentifier * Adds `SettingsIdentifier` properties to `FileOpenPicker`, `FileSavePicker`, and `FolderPicker`, enabling instance-specific picker state across sessions. Related: - #5847 - microsoft/microsoft-ui-xaml#10904 ### FileTypeIndex * Adds `FileTypeIndex` property to `FileOpenPicker` and `FileSavePicker`, allowing developers to set the default selected file type filter by index (0-based). Related: - #5975 ### Changes in FileSavePicker * Adds a new properties for `FileSavePicker`: `ShowOverwritePrompt`: `ShowOverwritePrompt` default to `true` and control whether the picker warns about overwriting when user picked an existing file via FileSavePicker. * Changing the default behavior - when the user picked a not-existing file via FileSavePicker, the picker will NOT create an empty file there - allowing developer to decide when to make this file. Related: - #5976 ## Adds method: ### FolderPicker.PickMultipleFoldersAsync * Adds `PickMultipleFoldersAsync` method to `FolderPicker`, enabling selection of multiple folders in a single operation. API definitions, documentation, and code samples have been updated to reflect this feature. Related: - #5848
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implementation for
This pull request updates the Storage.Pickers API implementation to add new customization and usability features to the
FileOpenPicker,FileSavePicker, andFolderPickerclasses. The changes introduce properties for dialog title and instance-specific settings, allow specifying the default file type filter by 0-based index, and add support for picking multiple folders. These enhancements are reflected in both the API definitions and usage examples.Adds properties:
Title
Titleproperties toFileOpenPicker,FileSavePicker, andFolderPicker, enabling custom dialog titles.Related:
SettingsIdentifier
SettingsIdentifierproperties toFileOpenPicker,FileSavePicker, andFolderPicker, enabling instance-specific picker state across sessions.Related:
InitialFileTypeIndex
InitialFileTypeIndexproperty toFileOpenPickerandFileSavePicker, allowing developers to set the default selected file type filter by index (0-based).Related:
Changes in FileSavePicker
Adds a new properties for
FileSavePicker:ShowOverwritePrompt:ShowOverwritePromptdefault totrueand control whether the picker warns about overwriting when user picked an existing file via FileSavePicker.Changing the default behavior - when the user picked a not-existing file via FileSavePicker, the picker will NOT create an empty file there - allowing developer to decide when to make this file.
Related:
Adds method:
FolderPicker.PickMultipleFoldersAsync
PickMultipleFoldersAsyncmethod toFolderPicker, enabling selection of multiple folders in a single operation. API definitions, documentation, and code samples have been updated to reflect this feature.Related: